package com.crane.oss.school.bean.resp;

import java.io.Serializable;

import com.baomidou.mybatisplus.core.metadata.IPage;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;


/**
 * 返回开课老师信息<按校区分组返回>
 *
 * @author zhenxing.pi
 * @email ccsu123456@qq.com
 * @date 2022年03月26日 14时24分54秒
 */

@Getter
@Setter
@ToString

public class OpenTeacherResp implements Serializable {
	
	private static final long serialVersionUID = -6032271810690106169L;

    @ApiModelProperty(value = "校区id", name = "schoolId")
    private Long schoolId;
    
    @ApiModelProperty(value = "校区名称", name = "schoolName")
    private String schoolName;
    
    @ApiModelProperty(value = "老师", name = "teacherList")
    private IPage<OpenTeacher> teacherList;

    @Getter
    @Setter
    @ToString
    public static class OpenTeacher implements Serializable {

		private static final long serialVersionUID = -6118759962535654840L;

		@ApiModelProperty(value = "老师id", name = "teacherId")
        private Long teacherId;

        @ApiModelProperty(value = "老师名称", name = "name")
        private String name;
    }

}
